package oa.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import oa.bean.Goods;


public interface GoodsMapper {
	public List<Goods> getGoodById(Goods goods);

	public List<Goods> getAll();

	public List<Goods> getGoodByName(String goods);

	public int delete(Goods goods);

	public int update(Goods goods);

	public int insert(Goods goods);
	
	public int updatezt(@Param("id")String id , @Param("gstatus")String gstatus);
}
